<template>
  <div class="outer">
    <div class="center">
      <div class="uname">
        <div class="img">
          <img src="../assets/touxiang.png" alt="" />
        </div>
        <span>
          <span>{{ $store.state.uname }}</span>
        </span>
      </div>
      <div class="money">
        <h4>可用余额:</h4>
        <div>
          <span>¥0.00</span>
          <button>立即充值></button>
        </div>
      </div>
      <div class="coin">
        <h4>账户番币：</h4>
        <div>
          <span>500</span>
          <button>我的番币：></button>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.outer {
  width: 100%;
  height: 200px;
  background-image: url("../assets/personheader.png");
  background-color: #feefed;
  .center {
    width: 1200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    .uname {
      .img {
        width: 80px;
        height: 80px;
        border-radius: 80px;
      }
    }
    .money {
      h4 {
        margin-bottom: 15px;
      }
      span {
        font-size: 24px;
        font-weight: bold;
        margin-right: 20px;
      }
      button {
        border: none;
        padding: 10px 15px;
        background-color: #ff6e6e;
        color: #feefed;
        border-radius: 100px;
      }
    }
    .coin {
      h4 {
        margin-bottom: 15px;
      }
      span {
        font-size: 24px;
        font-weight: bold;
        margin-right: 20px;
      }
      button {
        border: none;
        padding: 10px 15px;
        background-color: #ff6e6e;
        color: #feefed;
        border-radius: 100px;
      }
    }
  }
}
</style>